<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class TaratureTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('tarature', function($table)
		{
			$table->increments('id');
			$table->string('id_strumento_misura');
			$table->string('esecutore');
			$table->enum('esito', array('OK', 'Non OK'));
			$table->text('note');
			$table->date('data');
			$table->timestamps();
			
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('tarature');
	}

}
